﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_BUSINESSDIVISION.cs
// 项目名称：Lovol 
// 创建时间：2011/10/24
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
    /// <summary>
    ///T_BUSINESSDIVISION数据实体
    /// </summary>
    [Serializable]
    [OracleTable(TableName = "T_BUSINESSDIVISION", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_BUSINESSDIVISION", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    public class T_BUSINESSDIVISION_Entity
    {
        #region 变量定义
        ///<summary>
        ///事业部编号
        ///</summary>
        private long _bUSINESSDIVISIONID;
        ///<summary>
        ///事业部名称
        ///</summary>
        private string _bUSINESSDIVISIONNAME = String.Empty;
        ///<summary>
        ///事业部代码
        ///</summary>
        private string _bUSINESSDIVISIONCODE = String.Empty;
        ///<summary>
        ///状态
        ///</summary>
        private long? _sTATUS = 0;
        ///<summary>
        ///电话号码
        ///</summary>
        private string _tELEPHONE = String.Empty;
        ///<summary>
        ///是否可以被查看
        ///</summary>
        private long? _iSVIEWED = 0;
        ///<summary>
        ///是否可以查看
        ///</summary>
        private long? _iSVIEW = 0;
        ///<summary>
        ///创建时间
        ///</summary>
        private DateTime? _cREATETIME;
        ///<summary>
        ///创建人编号
        ///</summary>
        private long? _cREATEPEOPLEID = 0;
        ///<summary>
        ///创建人
        ///</summary>
        private string _cREATEPEOPLE = String.Empty;
        ///<summary>
        ///最后修改人编号
        ///</summary>
        private long? _lASTMODIFYPEOPLEID = 0;
        ///<summary>
        ///最后修改人
        ///</summary>
        private string _lASTMODIFYPEOPLE = String.Empty;
        ///<summary>
        ///最后修改时间
        ///</summary>
        private DateTime? _lASTMODIFYTIME;
        ///<summary>
        ///备注
        ///</summary>
        private string _rEMARK = String.Empty;
        ///<summary>
        ///虚拟组号
        ///</summary>
        private string _vIRTUALGROUP = String.Empty;
        ///<summary>
        ///按键
        ///</summary>
        private string _pRESSKEY = String.Empty;
        ///<summary>
        ///短信用户编号
        ///</summary>
        private string _sMS_UID = String.Empty;
        ///<summary>
        ///短信密码
        ///</summary>
        private string _sMS_PWD = String.Empty;
        ///<summary>
        ///传真用户编号
        ///</summary>
        private string _fAX_UID = String.Empty;
        ///<summary>
        ///传密码
        ///</summary>
        private string _fAX_PWD = String.Empty;
        ///<summary>
        ///邮件账号
        ///</summary>
        private string _eMAIL_ACCOUNT = String.Empty;
        ///<summary>
        ///邮件用户编号
        ///</summary>
        private string _eMAIL_UID = String.Empty;
        ///<summary>
        ///邮件密码
        ///</summary>
        private string _eMAIL_PWD = String.Empty;
        ///<summary>
        ///
        ///</summary>
        private string _cASEKEY = String.Empty;
        #endregion

        #region 构造函数
        ///<summary>
        ///
        ///</summary>
        public T_BUSINESSDIVISION_Entity()
        {

        }
        #endregion

        #region 公共属性

        ///<summary>
        ///事业部编号
        ///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_BUSINESSDIVISION")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
        public long BUSINESSDIVISIONID
        {
            get { return _bUSINESSDIVISIONID; }
            set { _bUSINESSDIVISIONID = value; }

        }

        ///<summary>
        ///事业部名称
        ///</summary>		
        public string BUSINESSDIVISIONNAME
        {
            get { return _bUSINESSDIVISIONNAME; }
            set
            {
                _bUSINESSDIVISIONNAME = value;
            }

        }

        ///<summary>
        ///事业部代码
        ///</summary>		
        public string BUSINESSDIVISIONCODE
        {
            get { return _bUSINESSDIVISIONCODE; }
            set
            {
                _bUSINESSDIVISIONCODE = value;
            }

        }

        ///<summary>
        ///状态
        ///</summary>		
        public long? STATUS
        {
            get { return _sTATUS; }
            set { _sTATUS = value; }

        }

        ///<summary>
        ///电话号码
        ///</summary>		
        public string TELEPHONE
        {
            get { return _tELEPHONE; }
            set
            {
                _tELEPHONE = value;
            }

        }

        ///<summary>
        ///是否可以被查看
        ///</summary>		
        public long? ISVIEWED
        {
            get { return _iSVIEWED; }
            set { _iSVIEWED = value; }

        }

        ///<summary>
        ///是否可以查看
        ///</summary>		
        public long? ISVIEW
        {
            get { return _iSVIEW; }
            set { _iSVIEW = value; }

        }

        ///<summary>
        ///创建时间
        ///</summary>		
        public DateTime? CREATETIME
        {
            get { return _cREATETIME; }
            set { _cREATETIME = value; }

        }

        ///<summary>
        ///创建人编号
        ///</summary>		
        public long? CREATEPEOPLEID
        {
            get { return _cREATEPEOPLEID; }
            set { _cREATEPEOPLEID = value; }

        }

        ///<summary>
        ///创建人
        ///</summary>		
        public string CREATEPEOPLE
        {
            get { return _cREATEPEOPLE; }
            set
            {
                _cREATEPEOPLE = value;
            }

        }

        ///<summary>
        ///最后修改人编号
        ///</summary>		
        public long? LASTMODIFYPEOPLEID
        {
            get { return _lASTMODIFYPEOPLEID; }
            set { _lASTMODIFYPEOPLEID = value; }

        }

        ///<summary>
        ///最后修改人
        ///</summary>		
        public string LASTMODIFYPEOPLE
        {
            get { return _lASTMODIFYPEOPLE; }
            set
            {
                _lASTMODIFYPEOPLE = value;
            }

        }

        ///<summary>
        ///最后修改时间
        ///</summary>		
        public DateTime? LASTMODIFYTIME
        {
            get { return _lASTMODIFYTIME; }
            set { _lASTMODIFYTIME = value; }

        }

        ///<summary>
        ///备注
        ///</summary>		
        public string REMARK
        {
            get { return _rEMARK; }
            set
            {
                _rEMARK = value;
            }

        }

        ///<summary>
        ///虚拟组号
        ///</summary>		
        public string VIRTUALGROUP
        {
            get { return _vIRTUALGROUP; }
            set
            {
                _vIRTUALGROUP = value;
            }

        }

        ///<summary>
        ///按键
        ///</summary>		
        public string PRESSKEY
        {
            get { return _pRESSKEY; }
            set
            {
                _pRESSKEY = value;
            }

        }

        ///<summary>
        ///短信用户编号
        ///</summary>		
        public string SMS_UID
        {
            get { return _sMS_UID; }
            set
            {
                _sMS_UID = value;
            }

        }

        ///<summary>
        ///短信密码
        ///</summary>		
        public string SMS_PWD
        {
            get { return _sMS_PWD; }
            set
            {
                _sMS_PWD = value;
            }

        }

        ///<summary>
        ///传真用户编号
        ///</summary>		
        public string FAX_UID
        {
            get { return _fAX_UID; }
            set
            {
                _fAX_UID = value;
            }

        }

        ///<summary>
        ///传密码
        ///</summary>		
        public string FAX_PWD
        {
            get { return _fAX_PWD; }
            set
            {
                _fAX_PWD = value;
            }

        }

        ///<summary>
        ///邮件账号
        ///</summary>		
        public string EMAIL_ACCOUNT
        {
            get { return _eMAIL_ACCOUNT; }
            set
            {
                _eMAIL_ACCOUNT = value;
            }

        }

        ///<summary>
        ///邮件用户编号
        ///</summary>		
        public string EMAIL_UID
        {
            get { return _eMAIL_UID; }
            set
            {
                _eMAIL_UID = value;
            }

        }

        ///<summary>
        ///邮件密码
        ///</summary>		
        public string EMAIL_PWD
        {
            get { return _eMAIL_PWD; }
            set
            {
                _eMAIL_PWD = value;
            }

        }

        ///<summary>
        ///
        ///</summary>		
        public string CASEKEY
        {
            get { return _cASEKEY; }
            set
            {
                _cASEKEY = value;
            }

        }


        #endregion

    }
}
